package by.vkhalko.asamo.services;

import org.springframework.transaction.annotation.Transactional;

import by.vkhalko.asamo.datamodel.Work;

public interface WorkService {
	Work get(Long id);

	@Transactional
	void saveOrUpdate(Work work);

	@Transactional
	void delete(Work work);

	@Transactional
	void deleteAll();

}
